|  |  | @@ -338,13 +338,13 @@ def statistic_distributor(request): | 
            
            
              | 338 | 338 |              daily_logs[i]['has_scan_num'] = daily_hasScan_logs[j]['has_scan_num'] | 
            
            
              | 339 | 339 |              j += 1 | 
            
            
              | 340 | 340 |   | 
            
            
              | 341 |  | -    model_logs = list(logs.values('model_name').annotate(num=Count('pk')).order_by('model_name')) | 
            
            
              | 342 |  | -    model_hasScan_logs = list(logs.filter(has_scan=True).values('model_name').annotate(has_scan_num=Count('pk')).order_by('model_name')) | 
            
            
              |  | 341 | +    model_logs = list(logs.values('model_uni_name').annotate(num=Count('pk')).order_by('model_uni_name')) | 
            
            
              |  | 342 | +    model_hasScan_logs = list(logs.filter(has_scan=True).values('model_uni_name').annotate(has_scan_num=Count('pk')).order_by('model_uni_name')) | 
            
            
              | 343 | 343 |   | 
            
            
              | 344 | 344 |      j = 0 | 
            
            
              | 345 | 345 |      for i in range(0, len(model_logs)): | 
            
            
              | 346 | 346 |          model_logs[i]['has_scan_num'] = 0 | 
            
            
              | 347 |  | -        if j < len(model_hasScan_logs) and model_logs[i]['model_name'] == model_hasScan_logs[j]['model_name']: | 
            
            
              |  | 347 | +        if j < len(model_hasScan_logs) and model_logs[i]['model_uni_name'] == model_hasScan_logs[j]['model_uni_name']: | 
            
            
              | 348 | 348 |              model_logs[i]['has_scan_num'] = model_hasScan_logs[j]['has_scan_num'] | 
            
            
              | 349 | 349 |              j += 1 | 
            
            
              | 350 | 350 |   |